import gradio as gr

def greet(name,dd,temp):
    return "Hello " + name + "!"
demo = gr.Interface(fn= greet, inputs=[gr.Textbox(label='输入：'),gr.Dropdown(["选项1", "选项2", "选项3"], label="选择一个选项"),
                                       gr.Slider(label='温度值：')
                                       ], outputs=gr.Textbox())
demo.launch()